<?php

namespace App\Http\Controllers\Rent;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
class YjController extends Controller
{
    public function YjNotify(){
    	$data = json_encode($_POST,true);
    	$path = storage_path().'/logs/test.log';
    	$myfile = fopen($path, "w") or die("Unable to open file!");
		fwrite($myfile, $data);
		fclose($myfile);
    }
}
